{layout name="define/layout" /}

<body id="reg">
    <div class="reg-w">
        <div class="reg-logo">
            <a href="javascript:;"></a>
        </div>
        <form method="post" id="fm" action="">
            <input type="hidden" name="ac" value="email">
            <h4>邮箱找回密码</h4>
            <div class="reg-group">
                <label class="bd-r" style="letter-spacing: normal;">邮箱</label><input type="text" id="to" name="to"
                    class="reg-control" placeholder="请输入您绑定的邮箱">
            </div>

            <div class="reg-group">
                <label>验证码</label><input type="text" class="reg-control w150" id="verify" name="verify"
                    placeholder="请输入验证码">
                <img class="fr m-hi" src="{:captcha_src()}" onClick="this.src=this.src+'?'" alt="单击刷新" />
            </div>
            <input type="button" id="btn_send" class="btn-brand btn-sub" value="发送验证码">
        </form>

        <form id="lycms-findpass">
            <input type="hidden" name="ac" value="email">
            <h4>验证信息</h4>
            <div class="reg-group">
                <label class="bd-r" style="letter-spacing: normal;">验证码</label><input type="text" id="code" name="code"
                    class="reg-control" placeholder="请输入邮箱收到的验证码">
            </div>
            <div class="reg-group">
                <label>新密码</label><input type="password" class="reg-control w150" id="user_pwd" name="user_pwd"
                    placeholder="请输入新密码">
            </div>
            <div class="reg-group">
                <label>确认密码</label><input type="password" class="reg-control w150" id="user_pwd2" name="user_pwd2"
                    placeholder="请输入确认密码">
            </div>
            <input type="button" id="btn_submit" class="btn-brand btn-sub" value="重置密码">
        </form>
        <div class="reg-ts">
            <a href="/user/login.html">登录账号</a><a href="/">返回首页</a> </div>
    </div>

    <!-- // sign-box#regbox end -->
    <script type="text/javascript">

        $(function () {
            $("body").bind('keyup', function (event) {
                if (event.keyCode == 13) { $('#btnLogin').click(); }
            });
        });

    </script>